package io.renren.modules.recorderReport.service.impl;

import io.renren.modules.recorderReport.model.ReportFinanceAuditExcelBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.recorderReport.dao.ReportInfoDao;
import io.renren.modules.recorderReport.entity.ReportInfoEntity;
import io.renren.modules.recorderReport.service.ReportInfoService;



@Service("reportInfoService")
public class ReportInfoServiceImpl implements ReportInfoService {
	@Autowired
	private ReportInfoDao reportInfoDao;
	
	@Override
	public ReportInfoEntity queryObject(String id){
		return reportInfoDao.queryObject(id);
	}
	
	@Override
	public List<ReportInfoEntity> queryList(Map<String, Object> map){
		return reportInfoDao.queryList(map);
	}

	@Override
	public List<ReportFinanceAuditExcelBean> listReportFinanceAuditExcel(Map<String, Object> map) {
		return reportInfoDao.listReportFinanceAuditExcel(map);
	}

	@Override
	public List<ReportInfoEntity> queryListReportFinanceAuditInfo(Map<String, Object> map) {
		return reportInfoDao.queryListReportFinanceAuditInfo(map);
	}

	@Override
	public int queryTotal(Map<String, Object> map){
		return reportInfoDao.queryTotal(map);
	}

	@Override
	public int queryTotalReportFinanceAuditInfoNum(Map<String, Object> map) {
		return reportInfoDao.queryTotalReportFinanceAuditInfoNum(map);
	}

//	@Override
//	public void financeAudit(ReportInfoEntity reportInfo) {
//		reportInfoDao.financeAudit(reportInfo);
//	}

	@Override
	public void save(ReportInfoEntity reportInfo){
		reportInfoDao.save(reportInfo);
	}
	
	@Override
	public void update(ReportInfoEntity reportInfo){
		reportInfoDao.update(reportInfo);
	}
	
	@Override
	public void delete(String id){
		reportInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		reportInfoDao.deleteBatch(ids);
	}
	
}
